device tree,arm: supply a flat device tree to dom0
authorDavid Vrabel <david.vrabel@citrix.com>
Mon, 2 Apr 2012 15:50:42 +0000 (16:50 +0100)
committerDavid Vrabel <david.vrabel@citrix.com>
Mon, 2 Apr 2012 15:50:42 +0000 (16:50 +0100)
commit13bb63b754e433301bef330c4087743677c4ffb8
treea1568334d526898a12fe7f9a9bbe42b7835ec98d
parent3db570f4f9baddb1666cf530e3307784e823d308
device tree,arm: supply a flat device tree to dom0

Build a flat device tree for dom0 based on the one supplied to Xen.
The following changes are made:

  * In the /chosen node, the xen,dom0-bootargs parameter is renamed to
    bootargs.

  * In all memory nodes, the reg parameters are adjusted to reflect
    the amount of memory dom0 can use.  The p2m is updated using this
    info.

Support for passing ATAGS to dom0 is removed.

Signed-off-by: David Vrabel <david.vrabel@citrix.com>
[ removed device_tree_dump call -- ijc ]
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Committed-by: Ian Campbell <ian.campbell@citrix.com>
xen/arch/arm/domain_build.c
xen/arch/arm/kernel.c
xen/arch/arm/kernel.h
xen/common/device_tree.c
xen/include/xen/device_tree.h
xen/include/xen/libfdt/libfdt_env.h